package com.university.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.university.pojo.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper extends BaseMapper<User> {
    /*User selectByUsername(String username);

    User getUser(@Param("user") User user);

    List<User> selectUser(Integer id, String username);

    void insetUser(String username,String password);

    List<User> getUserByRoleAndUser(String role,User user);
*/
    void insertUser(List<User> userList);

    List<User> getUserByIds(Integer[] ids);
}
